package hcn.service.base;

import ctd.util.annotation.RpcService;

import java.util.List;
import java.util.Map;

/**
 * Created by mlm on 2016/1/7.
 */
public interface LocalAddressBookLoader {


    /**
     * 查询员内通讯录
     *
     * @param orgId  云端机构id
     * @param pageNo  第几页
     * @param pageSize 每页几条数据
     * @return
     */
    @RpcService
    public List<Map<String,Object>> queryLocalAddressBooks(String orgId,int pageNo,int pageSize);

    /**
     * 返回总记录数
     *
     * @param orgId
     * @return
     */
    @RpcService
    public Integer queryLocalAddressBookCount(String orgId);
}
